######                         ######
###  QMAKE BUILDER Configuration  ###
######                         ######

TARGET	= Builder
#CONFIG	+= debug_and_release warn_on windows
BUILD_PATH	= ./build
CONFIG(debug, debug|release) {
	# Debug
	CONFIG	+= console
	TARGET	= $$join(TARGET,,,_debug)
	unix:OBJECTS_DIR	= $${BUILD_PATH}/debug/.obj/unix
	win32:OBJECTS_DIR	= $${BUILD_PATH}/debug/.obj/win32
	mac:OBJECTS_DIR	= $${BUILD_PATH}/debug/.obj/mac
	win32:UI_DIR	= ./
	unix:UI_DIR	= ./
	MOC_DIR	= $${BUILD_PATH}/debug/.moc
	RCC_DIR	= $${BUILD_PATH}/debug/.rcc
} else {
	# Release
	TARGET	= $$join(TARGET,,,_release)
	unix:OBJECTS_DIR	= $${BUILD_PATH}/release/.obj/unix
	win32:OBJECTS_DIR	= $${BUILD_PATH}/release/.obj/win32
	mac:OBJECTS_DIR	= $${BUILD_PATH}/release/.obj/mac
	win32:UI_DIR	= ./
	unix:UI_DIR	= ./
	MOC_DIR	= $${BUILD_PATH}/release/.moc
	RCC_DIR	= $${BUILD_PATH}/release/.rcc
}
DEPENDPATH	= . \
	Forms \
	Classes/frm_main
INCLUDEPATH	= . \
	Src/Classes/frm_main

# Input
HEADERS	= Src/Classes/frm_main/mainwindow.h \
	Src/Classes/FileView/FileView.h \
	Src/Classes/xml/xmlScribe.h \
	Src/Classes/Builder/Builder.h \
	Src/Classes/FileView/UpdateFile.h \
	Src/Classes/Archiver/InterfaceArchiver.h
SOURCES	= Src/main.cpp \
	Src/Classes/frm_main/mainwindow.cpp \
	Src/Classes/FileView/FileView.cpp \
	Src/Classes/xml/xmlScribe.cpp \
	Src/Classes/Builder/Builder.cpp \
	Src/Classes/FileView/UpdateFile.cpp \
	Src/Classes/Archiver/InterfaceArchiver.cpp
FORMS	= Src/Forms/Frm_main.ui
RESOURCES	= Src/Forms/All_ressources.qrc
RC_FILE	= Src/mainicon.rc

QT	= core gui xml